package com.msc.cili.bootstrap;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author 骑蜗牛的羊
 * @date 2023/4/12 22:48
 * <p></p>
 */
@SpringBootApplication
@Slf4j
public class Bootstrap {
    public static void main(String[] args) {
        try {
            SpringApplication.run(Bootstrap.class, args);
        } catch (Exception e) {
            // （推荐）如果项目中存在日志框架，可以通过日志框架打印
            log.debug("the exception is {}", e.getMessage(), e);
        }

    }
}
